Matthias Clasen [Thu, 23 Oct 2003 20:44:13 +0000 (20:44 +0000)]
Move GtkCombo and GtkOptionMenu to the "Deprecated" chapter. Add
Thu Oct 23 22:41:02 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-docs.sgml: Move GtkCombo and GtkOptionMenu to
the "Deprecated" chapter. Add GtkFileChooser, GtkFileChooserDialog,
GtkFileChooseWidget and GtkFileFilter.
* gtk/gtkfilefilter.c (gtk_file_filter_new): Fix doc markup.
Matthias Clasen [Thu, 23 Oct 2003 19:49:54 +0000 (19:49 +0000)]
Updates.
Federico Mena Quintero [Thu, 23 Oct 2003 19:47:13 +0000 (19:47 +0000)]
Added gtk_file_chooser_get_type, gtk_file_chooser_dialog_get_type,
2003-10-23 Federico Mena Quintero <federico@ximian.com>
* gtk/gtk.types: Added gtk_file_chooser_get_type,
gtk_file_chooser_dialog_get_type,
gtk_file_chooser_widget_get_type, gtk_file_filter_get_type.
* gtk/gtk-sections.txt: Added GtkFileChooser,
GtkFileChooserWidget, GtkFileChooserDialog, GtkFileFilter.
* gtk/Makefile.am (IGNORE_HFILES): Added gtkcellrendererseptext.h,
gtkfilechooserdefault.h, gtkfilechooserentry.h,
gtkfilechooserutils.h, gtkfilesystem.h, gtkfilesystemmodel.h,
gtkfilesystemunix.h.
* gtk/tmpl/gtkfilechooser.sgml: New template file.
* gtk/tmpl/gtkfilechooserdialog.sgml: Likewise.
* gtk/tmpl/gtkfilechooserwidget.sgml: Likewise.
* gtk/tmpl/gtkfilefilter.sgml: Likewise.
Kristian Rietveld [Thu, 23 Oct 2003 19:19:07 +0000 (19:19 +0000)]
Updates for 2.3.0; changed header to match the style we used for 2.1.0.
Thu Oct 23 21:12:50 2003 Kristian Rietveld <kris@gtk.org>
* NEWS: Updates for 2.3.0; changed header to match the style we used
for 2.1.0.
Matthias Clasen [Thu, 23 Oct 2003 18:50:40 +0000 (18:50 +0000)]
Actually assign the new leader. (#125168, Mariano Suarez-Alvarez)
Thu Oct 23 20:47:44 2003 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Actually
assign the new leader. (#125168, Mariano Suarez-Alvarez)
Kristian Rietveld [Thu, 23 Oct 2003 18:25:53 +0000 (18:25 +0000)]
Fix includes.
Thu Oct 23 20:21:16 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcelllayout.c, gtk/gtkcellview.c gtk/gtkcellviewmenuitem.c,
gtk/gtkcombobox.c, gtk/gtkcomboboxentry.c, gtk/gtkentrycompletion.c,
gtk/gtktreemodelfilter.c, gtk/gtkcellrenderertoggle.c: Fix includes.
Raymond Penners [Thu, 23 Oct 2003 18:00:10 +0000 (18:00 +0000)]
0.5.1
cinamod [Thu, 23 Oct 2003 14:20:27 +0000 (14:20 +0000)]
update xp_theme_defs
Soeren Sandmann [Thu, 23 Oct 2003 13:15:55 +0000 (13:15 +0000)]
Partial update for 2.3.0.
Thu Oct 23 15:13:56 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* NEWS: Partial update for 2.3.0.
Owen Taylor [Thu, 23 Oct 2003 05:10:47 +0000 (05:10 +0000)]
Convert GtkOptionMenu to GtkComboBox.
Thu Oct 23 01:09:04 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilechooserdefault.c: Convert GtkOptionMenu to
GtkComboBox.
Owen Taylor [Thu, 23 Oct 2003 04:31:28 +0000 (04:31 +0000)]
cvsignore updates
Owen Taylor [Thu, 23 Oct 2003 04:22:32 +0000 (04:22 +0000)]
gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]: Basic framework
Wed Oct 22 23:20:04 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilechooser.[ch] gtk/gtkfilefilter.[ch]
gtk/gtkfilechooserwidget.[ch] gtk/gtkfilechooserdialog.[ch]:
gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]:
Basic framework for the new file selector widget.
* gtk/gtkfilechooserdefault.[ch] gtk/gtkcellrenderersep.[ch]
gtk/gtkfilechooserentry.[ch] gtk/gtkfilesystemmodel.[ch]:
Initial implementation of the GtkFileChooser user interface.
* gtk/gtkfilesystemunix.[ch]: GtkFileSystem implementation
for Unix files.
* configure.in gtk/Makefile.am gtk/xdgmime: Build code
for freedesktop.org MIME system on Unix.
* tests/testfilechooser.c: Test program for GtkFileChooser
* tests/prop-editor.c: Add support for properties on interfaces.
Owen Taylor [Thu, 23 Oct 2003 03:20:54 +0000 (03:20 +0000)]
Fix some unused variables.
Tue Oct 21 16:12:51 2003 Owen Taylor <otaylor@redhat.com>
* demos/gtk-demo/menus.c (do_menus): Fix some unused
variables.
* gtk/gtkmain.c (_gtk_get_lc_ctype): Fix an unused
variable warning
Federico Mena Quintero [Thu, 23 Oct 2003 00:26:15 +0000 (00:26 +0000)]
Renamed from GtkFileChooserImplDefault to GtkFileChooserDefault.
2003-10-22 Federico Mena Quintero <federico@ximian.com>
* gtkfilechooserdefault.[ch]: Renamed from
GtkFileChooserImplDefault to GtkFileChooserDefault.
Matthias Clasen [Wed, 22 Oct 2003 22:05:35 +0000 (22:05 +0000)]
Update NEWS for 2.3.0
Vincent van Adrighem [Wed, 22 Oct 2003 19:00:17 +0000 (19:00 +0000)]
Dutch translation updated by Tino Meinen.
2003-10-22 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Dutch translation updated by Tino Meinen.
Raymond Penners [Wed, 22 Oct 2003 18:41:02 +0000 (18:41 +0000)]
More code formatting
Raymond Penners [Wed, 22 Oct 2003 18:25:50 +0000 (18:25 +0000)]
Code formatting
Kristian Rietveld [Tue, 21 Oct 2003 20:19:14 +0000 (20:19 +0000)]
set ctrl_pressed and shift_pressed according to the current event state
Tue Oct 21 22:07:12 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_real_move_cursor): set
ctrl_pressed and shift_pressed according to the current event
state (if there is one). (Fixes #125063, reported by Sebastien Bacher).
cinamod [Tue, 21 Oct 2003 18:51:29 +0000 (18:51 +0000)]
use more XP style functions
Federico Mena Quintero [Tue, 21 Oct 2003 01:06:30 +0000 (01:06 +0000)]
Free the info itself.
2003-10-20 Federico Mena Quintero <federico@ximian.com>
* gtkfilesystem.c (gtk_file_info_free): Free the info itself.
* gtkfilechooserimpldefault.c (shortcuts_insert_path): Free the
GtkFileInfo.
Kristian Rietveld [Mon, 20 Oct 2003 21:28:38 +0000 (21:28 +0000)]
remove the completion timeout when the user pressed on Enter/ESC. Fixes
Mon Oct 20 23:24:27 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentry.c (gtk_entry_key_press): remove the completion
timeout when the user pressed on Enter/ESC. Fixes the bug where the
completion popup popped up after the user pressed on Enter (which is
just weird). Reported by the Epiphany people (all of them).
Federico Mena Quintero [Mon, 20 Oct 2003 20:17:35 +0000 (20:17 +0000)]
New utility function. (gtk_file_system_gnome_vfs_get_folder): Use
2003-10-20 Federico Mena Quintero <federico@ximian.com>
* gtkfilesystemgnomevfs.c (folder_child_new): New utility
function.
(gtk_file_system_gnome_vfs_get_folder): Use folder_child_new().
(gtk_file_folder_gnome_vfs_get_info): Likewise.
(directory_load_callback): Likewise.
(monitor_callback): Likewise.
* TODO: Removed the item about factoring out the code that creates
FolderChild structures.
Soeren Sandmann [Mon, 20 Oct 2003 18:56:05 +0000 (18:56 +0000)]
Add support for OS X like sliding of toolbar items during drag and drop,
Mon Oct 20 20:27:22 2003 Soeren Sandmann <sandmann@daimi.au.dk>
Add support for OS X like sliding of toolbar items during drag and
drop, (#110919, Dave Bordoley)
Make dnd highlighting the responsibility of the
application. (Fixes #116298, Owen Taylor)
* gtk/gtktoolbar.h: Add prototypes for new API.
* gtk/gtktoolbar.c
(physical_to_logical, logical_to_physical): new functions
converting between "position including placeholders" and "position
excluding placeholders".
(gtk_toolbar_class_init): remove drag_leave and drag_motion
handlers
(struct _ToolbarContent): new struct containing information
related to toolbar items.
(gtk_toolbar_highlight_drop_location): new public function
(gtk_toolbar_unhighlight_drop_location): new public function
* tests/testtoolbar.c
(toolbar_drag_motion, toolbar_drag_leave): new functions
(main): connect to dnd signals. Make the "New" item expand to
make drag and drop more exciting.
Raymond Penners [Mon, 20 Oct 2003 17:38:53 +0000 (17:38 +0000)]
Scrollbar grippers
cinamod [Mon, 20 Oct 2003 14:53:05 +0000 (14:53 +0000)]
bump version #
Raymond Penners [Sat, 18 Oct 2003 20:45:15 +0000 (20:45 +0000)]
gtkrc
Raymond Penners [Sat, 18 Oct 2003 20:37:30 +0000 (20:37 +0000)]
Grippers
Federico Mena Quintero [Sat, 18 Oct 2003 04:29:40 +0000 (04:29 +0000)]
Removed. (gtk_file_system_gnome_vfs_set_bookmarks): Removed.
2003-10-17 Federico Mena Quintero <federico@ximian.com>
* gtkfilesystemgnomevfs.c
(gtk_file_system_gnome_vfs_get_supports_bookmarks): Removed.
(gtk_file_system_gnome_vfs_set_bookmarks): Removed.
(gtk_file_system_gnome_vfs_add_bookmark): Implement.
(gtk_file_system_gnome_vfs_remove_bookmark): Implement.
* gtkfilechooserprivate.h (struct _GtkFileChooserIface): Replaced
the ::set_shortcut_folders() method with :;add_shortcut_folder()
and ::remove_shortcut_folder().
* gtkfilechooserutils.c (delegate_add_shortcut_folder): New function.
(delegate_remove_shortcut_folder): New function.
(delegate_list_shortcut_folders): New function.
* gtkfilechooserimpldefault.c (create_shortcuts_model): Insert the
Desktop directory as well.
(shortcuts_insert_path): Renamed from shortcuts_append_path; now
takes a position index instead of a parent node iter. Also takes
a GError argument.
(struct _GtkFileChooserImplDefault): Removed the shortcuts_folder
list. It is all kept in the model now.
(shortcuts_append_home): Save whether adding a shortcut for the
home directory was successful.
(shortcuts_append_desktop): Likewise for the desktop.
(shortcuts_append_file_system_roots): Count and save the number of
roots added.
(shortcuts_append_shortcut_folders): Removed.
(gtk_file_chooser_impl_default_add_shortcut_folder): Implement.
(shortcuts_append_bookmarks): Now that we don't have a bookmarks
parent node, don't expand the tree.
(add_bookmark_button_clicked_cb): Use gtk_file_system_add_bookmark().
(remove_bookmark_button_clicked_cb): Use gtk_file_system_remove_bookmark().
(gtk_file_chooser_impl_default_list_shortcut_folders): Get the
folders from the shortcuts model; we no longer keep a separate list.
* gtkfilesystem.h (struct _GtkFileSystemIface): Oops, there
shouldn't be shortcuts-related virtual methods here.
* gtkfilechooser.c (file_paths_to_strings): New helper function.
(gtk_file_chooser_get_filenames): Use file_paths_to_strings().
(gtk_file_chooser_get_uris): Likewise.
(gtk_file_chooser_set_shortcut_folders): Removed.
(gtk_file_chooser_list_shortcut_folders): Return a list of
strings, not of GtkFilePath*.
(gtk_file_chooser_list_shortcut_folder_uris): New function.
(gtk_file_chooser_add_shortcut_folder): New function.
(gtk_file_chooser_remove_shortcut_folder): New function.
(gtk_file_chooser_add_shortcut_folder_uri): New function.
(gtk_file_chooser_remove_shortcut_folder_uri): New function.
(_gtk_file_chooser_add_shortcut_folder): New function.
(_gtk_file_chooser_remove_shortcut_folder): New function.
* gtkfilechooser.h: New enum.
* gtkfilechooser.c (gtk_file_chooser_error_quark): New function.
* gtkfilesystem.c (gtk_file_system_get_supports_bookmarks): Removed.
(gtk_file_system_set_bookmarks): Removed.
(gtk_file_system_add_bookmark): New function.
(gtk_file_system_remove_bookmark): New function.
* gtkfilesystemunix.c
(gtk_file_system_unix_get_supports_bookmarks): Removed.
(gtk_file_system_unix_set_bookmarks): Removed.
(gtk_file_system_unix_add_bookmark): Just a stub for now.
(gtk_file_system_unix_remove_bookmark): Likewise.
* testfilechooser.c (main): Add a shortcut for testing purposes.
Raymond Penners [Fri, 17 Oct 2003 18:00:44 +0000 (18:00 +0000)]
Scrollbar fixes
Kristian Rietveld [Wed, 15 Oct 2003 20:41:22 +0000 (20:41 +0000)]
it's _set_active, not _set_active_item.
Wed Oct 15 22:39:23 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): it's
_set_active, not _set_active_item.
Kristian Rietveld [Wed, 15 Oct 2003 20:33:17 +0000 (20:33 +0000)]
add padding to the class structure. ditto. ditto.
Wed Oct 15 22:31:09 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombobox.h: add padding to the class structure.
* gtk/gtkcomboboxentry.h: ditto.
* gtk/gtkentrycompletion.h: ditto.
Kristian Rietveld [Wed, 15 Oct 2003 20:18:01 +0000 (20:18 +0000)]
mention in the docs that -1 is a valid value and what it means.
Wed Oct 15 22:04:59 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombobox.c (gtk_combo_box_get_active),
(gtk_combo_box_set_active): mention in the docs that -1 is a valid
value and what it means.
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): set the active
item to -1 (default),
(gtk_combo_box_entry_active_changed): do nothing when the index is
< 0.
Federico Mena Quintero [Wed, 15 Oct 2003 03:06:55 +0000 (03:06 +0000)]
Added a button to remove a bookmark. (remove_bookmark_button_clicked_cb):
2003-10-14 Federico Mena Quintero <federico@ximian.com>
* gtkfilechooserimpldefault.c (create_shortcuts_tree): Added a
button to remove a bookmark.
(remove_bookmark_button_clicked_cb): New callback.
(shortcuts_append_bookmarks): Show/hide the bookmarks buttons
here, rather than in create_shortcuts_tree().
(shortcuts_append_path): Return whether the operation succeeded.
(shortcuts_selection_changed): Set the sensitivity of the button
used to remove a bookmark.
(shortcuts_append_bookmarks): Do not select the shortcuts folder
here; let the caller do it if needed.
(create_shortcuts_tree): Select the shortcuts folder here.
(bookmarks_changed_cb): Likewise.
(create_shortcuts_tree): Also set the sensitivity of the bookmarks
buttons.
(bookmarks_check_add_sensitivity): Renamed from
check_bookmarks_sensitivity().
(shortcuts_select_folder): Renamed from select_shortcuts_folder().
(bookmarks_check_add_sensitivity): The current_path may not be set
yet.
(shortcuts_append_bookmarks): Oops, remove all the bookmark rows,
not just the separator node.
(bookmarks_changed_cb): Set the sensitivity of the bookmarks
buttons.
Jonathan Blandford [Tue, 14 Oct 2003 20:09:39 +0000 (20:09 +0000)]
New function to set the active row by iter.
Tue Oct 14 16:10:21 2003 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_set_active_iter): New function
to set the active row by iter.
* gtk/gtkcombobox.c (gtk_combo_box_get_active_iter): New function
to get the active row by iter.
Raymond Penners [Tue, 14 Oct 2003 18:35:43 +0000 (18:35 +0000)]
Merged patch from Arnaud Charlet
Federico Mena Quintero [Mon, 13 Oct 2003 21:52:15 +0000 (21:52 +0000)]
Don't do operations on windows if the tree view is not mapped.
2003-10-13 Federico Mena Quintero <federico@ximian.com>
* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Don't do
operations on windows if the tree view is not mapped.
(gtk_tree_view_button_press): Compare equal types of pointers, not
GtkWidget* vs. GtkTreeView*.
Federico Mena Quintero [Mon, 13 Oct 2003 19:59:37 +0000 (19:59 +0000)]
Walk the whole shortcuts model, not just the bookmarks part --- there is
2003-10-13 Federico Mena Quintero <federico@ximian.com>
* gtkfilechooserimpldefault.c (check_bookmarks_sensitivity): Walk
the whole shortcuts model, not just the bookmarks part --- there
is no need to add bookmarks for "stock" volume items.
(gtk_file_chooser_impl_default_set_property): Oops, hide/show the
tree/list as appropriate for the folder_mode property.
Kristian Rietveld [Mon, 13 Oct 2003 19:07:34 +0000 (19:07 +0000)]
remove the reset of first_sel_changed, as after the first popup the
Mon Oct 13 21:01:43 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.c (gtk_entry_completion_popup): remove
the reset of first_sel_changed, as after the first popup the treeview
will always have a row selected and will thus not focus_to_cursor.
* gtk/gtkentry.c (keyval_is_cursor_move): new function to determine
whether the keyval should move the completion selection cursor (used
to avoid ending up with extreme cluttered code), also added
all KP_ equivalents of the keys here,
(gtk_entry_completion_key_press): Keynav tweaks based on comments
from Dave Bordoley and Marco Pesenti Gritti; add the -1 state
as possible current selection, implement Home/End keys, modified
the down key to stop cycling. Maybe page up/down should be implemented
at some later time.
Matthias Clasen [Mon, 13 Oct 2003 19:00:19 +0000 (19:00 +0000)]
Make it work as documented when pixmap or mask is NULL. (#124081)
Mon Oct 13 20:58:07 2003 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon): Make it work
as documented when pixmap or mask is NULL. (#124081)
Kristian Rietveld [Mon, 13 Oct 2003 18:24:44 +0000 (18:24 +0000)]
Fix changelog. Doh.
Kristian Rietveld [Mon, 13 Oct 2003 18:23:54 +0000 (18:23 +0000)]
I overlooked an if when I was adding the signal block/unblock code. Oops.
Mon Oct 13 20:21:38 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentry.c (gtk_entry_set_text): I overlooked an if when
I was adding the signal block/unblock code. Oops. (Noticed by
Marco Pesenti Gritti).
Kristian Rietveld [Mon, 13 Oct 2003 18:15:10 +0000 (18:15 +0000)]
enable GTK_DISABLE_DEPRECATED again, (set_interp_type), (main): port over
Mon Oct 13 20:21:55 2003 Kristian Rietveld <kris@gtk.org>
* demos/testpixbuf-scale.c: enable GTK_DISABLE_DEPRECATED again,
(set_interp_type), (main): port over from option menu to GtkComboBox.
Kristian Rietveld [Mon, 13 Oct 2003 17:43:48 +0000 (17:43 +0000)]
Still uses option menus, so turn off GTK_DISABLE_DEPRECATED.
Mon Oct 13 19:41:55 2003 Kristian Rietveld <kris@gtk.org>
* tests/testmenus.c: Still uses option menus, so turn off
GTK_DISABLE_DEPRECATED.
Federico Mena Quintero [Mon, 13 Oct 2003 02:31:09 +0000 (02:31 +0000)]
Read the file's information from gnome-vfs if we haven't finished loading
2003-10-12 Federico Mena Quintero <federico@ximian.com>
* gtkfilesystemgnomevfs.c (gtk_file_folder_gnome_vfs_get_info):
Read the file's information from gnome-vfs if we haven't finished
loading the directory yet.
* gtkfilechooserimpldefault.c (tree_selection_changed): Set the
sensitivity of the bookmarks button depending on whether the
current folder already exists in the bookmarks list.
(shortcuts_selection_changed): Re-select the appropriate shortcuts
folder if the user clicks on the separator row.
(set_list_model): New function; moved the code from
tree_selection_changed().
(tree_selection_changed): Use set_list_model().
(create_folder_tree): Show the tree model only if we are in folder
mode.
(create_file_list): Show the list model only if we are not in
folder mode.
Matthias Clasen [Sat, 11 Oct 2003 23:12:20 +0000 (23:12 +0000)]
Move GET_PRIVATE macros from header to implementation.
Sun Oct 12 01:10:29 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkalignment.[hc]:
* gtk/gtkcombobox.[hc]:
* gtk/gtkcomboboxentry.[hc]:
* gtk/gtktreemodelfilter.[hc]: Move GET_PRIVATE macros
from header to implementation.
Matthias Clasen [Sat, 11 Oct 2003 22:36:04 +0000 (22:36 +0000)]
Add the get_type() functions for GtkEntryCompletion, GtkTreeModelFilter,
Sun Oct 12 00:33:48 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtk.types: Add the get_type() functions for
GtkEntryCompletion, GtkTreeModelFilter, GtkCellLayout,
GtkComboBox, GtkComboBoxEntry.
Matthias Clasen [Sat, 11 Oct 2003 22:21:04 +0000 (22:21 +0000)]
These files still use option menus, so turn off GTK_DISABLE_DEPRECATED to
Sun Oct 12 00:18:02 2003 Matthias Clasen <maclas@gmx.de>
* tests/testtreeview.c:
* demos/testpixbuf-scale.c:
* tests/prop-editor.c: These files still use option menus,
so turn off GTK_DISABLE_DEPRECATED to fix the build.
Matthias Clasen [Sat, 11 Oct 2003 21:24:10 +0000 (21:24 +0000)]
Add G_BEGIN_DECLS/G_END_DECLS to make these usable in C++. (#124351,
Sat Oct 11 23:14:36 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.h:
* gtk/gtkaction.h:
* gtk/gtkradioaction.h:
* gtk/gtkradiotoolbutton.h:
* gtk/gtkseparatortoolitem.h:
* gtk/gtktoggleaction.h:
* gtk/gtktoolitem.h:
* gtk/gtkuimanager.h: Add G_BEGIN_DECLS/G_END_DECLS to make
these usable in C++. (#124351, Murray Cumming)
Kristian Rietveld [Sat, 11 Oct 2003 17:10:37 +0000 (17:10 +0000)]
Check if completion is non-NULL before accessing it. Oops.
Sat Oct 11 19:09:05 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentry.c (gtk_entry_set_text): Check if completion is
non-NULL before accessing it. Oops.
Kristian Rietveld [Sat, 11 Oct 2003 13:49:22 +0000 (13:49 +0000)]
the gchar* parameters should be const (pointed out by both Marco Pesenti
Sat Oct 11 15:47:03 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action),
(gtk_entry_completion_insert_action_text),
(gtk_entry_completion_insert_action_markup): the gchar* parameters
should be const (pointed out by both Marco Pesenti Gritti and
Murray Cumming (#124356).
Kristian Rietveld [Sat, 11 Oct 2003 13:39:35 +0000 (13:39 +0000)]
for the custom child list mode, allocate the height allocation->height to
Sat Oct 11 15:37:19 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
child list mode, allocate the height allocation->height to the
button instead of the height requested by the button. (Tiny
size allocation screwup noticed by Macro Pesenti Gritti).
Kristian Rietveld [Sat, 11 Oct 2003 13:32:16 +0000 (13:32 +0000)]
Fixes based on comments from Marco Pesenti Gritti.
Sat Oct 11 15:23:27 2003 Kristian Rietveld <kris@gtk.org>
Fixes based on comments from Marco Pesenti Gritti.
* gtk/gtkentry.c (gtk_entry_set_text): block the completion changed
signal handler, avoids the completion popup to popup when text is
set programmatically in most cases (we actually have to handle this
in the _editable functions as well, but that will break popping up
when the user actually typed something :),
(gtk_entry_completion_key_press): when handling enter, bail out
when nothing has been selected,
(gtk_entry_completion_changed): don't popdown when the entry content
changed.
* gtk/gtkentrycompletion.c (gtk_entry_completion_init),
(gtk_entry_completion_selected_changed): unselect_all on the
first selected changed signal. Avoids having a default row selected,
(_gtk_entry_completion_popup): don't select the first row by default.
* gtk/gtkentryprivate.h (struct _GtkEntryCompletionPrivate): add a
first_sel_changed field.
Matthias Clasen [Fri, 10 Oct 2003 22:20:19 +0000 (22:20 +0000)]
Included gtk_progress_bar_get_orientation() in the list of undeprecated
Sat Oct 11 00:18:46 2003 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtkprogressbar.sgml: Included
gtk_progress_bar_get_orientation() in the list of undeprecated
functions, use less clumsy markup for enumerations.
Matthias Clasen [Fri, 10 Oct 2003 21:04:30 +0000 (21:04 +0000)]
Replace GtkItemFactory by GtkUIManager in the intro (again).
Fri Oct 10 23:02:58 2003 Matthias Clasen <maclas@gmx.de>
* demos/gtk-demo/menus.c: Replace GtkItemFactory by GtkUIManager
in the intro (again).
Matthias Clasen [Fri, 10 Oct 2003 20:54:50 +0000 (20:54 +0000)]
Fixes for (#124212, Marco Pesenti Gritti):
Fri Oct 10 22:50:05 2003 Matthias Clasen <maclas@gmx.de>
Fixes for (#124212, Marco Pesenti Gritti):
* gtk/gtkuimanager.c (update_smart_separators): Don't spit
warnings for popups.
(_gtk_menu_is_empty): Return FALSE for non-menus.
Kristian Rietveld [Fri, 10 Oct 2003 17:18:34 +0000 (17:18 +0000)]
Deprecate. Ditto.
Fri Oct 10 19:10:12 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombo.h: Deprecate.
* gtk/gtkoptionmenu.h: Ditto.
* gtk/gtkcombobox.c (gtk_combo_box_size_request),
(gtk_combo_box_size_allocate): Rework, things behave better now. Still
needs some work on requesting enough size when taking the items in
the list into account.
* gtk/gtkfilesel.c: put gtkoptionmenu.h include inside "enable
deprecated" guards.
* gtk/gtkinputdialog.c: ditto.
* gtk/gtkitemfactory.c: ditto.
* gtk/gtkoptionmenu.c: ditto.
* demos/gtk-demo/menus.c: remove the option menu.
* demos/gtk-demo/sizegroup.c: replace the option menus with
GtkComboBox.
* demos/gtk-demo/textview.c: ditto.
(A general GtkComboBox demo will be added later on).
Federico Mena Quintero [Thu, 9 Oct 2003 19:01:34 +0000 (19:01 +0000)]
Duuuh, cvs add the stupid files - Federico
Federico Mena Quintero [Thu, 9 Oct 2003 01:12:24 +0000 (01:12 +0000)]
Autosize the columns after the model is set. (shortcuts_append_path): Add
2003-10-08 Federico Mena Quintero <federico@ximian.com>
* gtkfilechooserimpldefault.c (tree_selection_changed): Autosize
the columns after the model is set.
(shortcuts_append_path): Add optional indentation to items.
(shortcuts_append_bookmarks): Indent bookmark items.
(create_shortcuts_tree): Set the "xpad" attribute of the name
renderer to be fetched from the indent column.
(shortcuts_append_bookmarks): Use NULL for the name of the
bookmarks node, so that a separator gets drawn.
(create_shortcuts_tree): Create a GtkCellRendererSepText.
* gtkcellrendererseptext.[ch]: New files with a cell renderer that
can display text or a separator line.
* Makefile.am (libgtkfilechooser_la_SOURCES): Added
gtkcellrendererseptext.[ch].
Raymond Penners [Wed, 8 Oct 2003 19:22:37 +0000 (19:22 +0000)]
Released 0.5.0
Federico Mena Quintero [Wed, 8 Oct 2003 04:14:55 +0000 (04:14 +0000)]
Added methods for ::get_supports_bookmarks(), ::set_bookmarks(),
2003-10-07 Federico Mena Quintero <federico@ximian.com>
* gtkfilesystem.h (struct _GtkFileSystemIface): Added methods for
::get_supports_bookmarks(), ::set_bookmarks(), ::list_bookmarks().
Added a ::bookmarks_changed() signal.
* gtkfilesystem.c (gtk_file_system_get_supports_bookmarks): New function.
(gtk_file_system_set_bookmarks): New function.
(gtk_file_system_list_bookmarks): New function.
(gtk_file_system_base_init): Create the "bookmarks-changed" signal.
(gtk_file_paths_copy): New function.
* gtkfilesystemunix.c (gtk_file_system_unix_get_supports_bookmarks): Implement.
(gtk_file_system_unix_set_bookmarks): Implement.
(gtk_file_system_unix_get_bookmarks): Implement.
* gtkfilesystemgnomevfs.c (struct _GtkFileSystemGnomeVFS): Added
fields for the bookmarks and the GConfClient.
(gtk_file_system_gnome_vfs_set_bookmarks): Implement.
(gtk_file_system_gnome_vfs_list_bookmarks): Implement.
* gtkfilechooserprivate.h (struct _GtkFileChooserIface): Added
methods for ::set_shortcut_folders(), ::list_shortcut_folders().
* gtkfilechooser.c (gtk_file_chooser_set_shortcut_folders): New
function.
(gtk_file_chooser_list_shortcut_folders): New function.
* gtkfilechooserimpldefault.c (create_shortcuts_model): Unref the
old shortcuts model if it exists. Create the nodes for the
app-specific shortcut folders.
(struct _GtkFileChooserImplDefault): Added a field for the
shortcut_folders.
(gtk_file_chooser_impl_default_set_shortcut_folders): Implement.
(select_shortcuts_folder): New helper function.
(gtk_file_chooser_impl_default_set_current_folder): Use
select_shortcuts_folder().
(shortcuts_append_path): Get the file info here, instead of the
caller.
(shortcuts_append_home): Use shortcuts_append_path().
(shortcuts_append_file_system_roots): Likewise.
(create_shortcuts_model): Add the app-specific shortcut folders
and the bookmarks.
(gtk_file_chooser_impl_default_list_shortcut_folders): Implement.
(create_shortcuts_tree): Added a button to let the user add the
current folder to the bookmarks.
(gtk_file_chooser_impl_default_set_property): Connect to
"bookmarks-changed" on the file system.
(shortcuts_append_bookmarks): New function.
* configure.ac: Depend on GConf.
Matthias Clasen [Tue, 7 Oct 2003 22:07:16 +0000 (22:07 +0000)]
New callback to propertly report radio actions.
Wed Oct 8 00:06:17 2003 Matthias Clasen <maclas@gmx.de>
* demos/gtk-demo/ui_manager.c (activate_radio_action): New
callback to propertly report radio actions.
* demos/gtk-demo/ui_manager.c (do_ui_manager): Use it here.
Matthias Clasen [Tue, 7 Oct 2003 21:32:54 +0000 (21:32 +0000)]
Add C++ guards. (123955, Harring Figueiredo)
Tue Oct 7 23:30:00 2003 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf-xlib.h: Add C++ guards. (123955, Harring Figueiredo)
Matthias Clasen [Tue, 7 Oct 2003 21:27:11 +0000 (21:27 +0000)]
Put the supported protocol version in in the right field of the
Tue Oct 7 23:23:05 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkplug.c (xembed_set_info): Put the supported protocol
version in in the right field of the _XEMBED_INFO property.
(#123885, Denis Mikhalkin)
Raymond Penners [Tue, 7 Oct 2003 20:53:15 +0000 (20:53 +0000)]
added safety
Raymond Penners [Tue, 7 Oct 2003 20:41:36 +0000 (20:41 +0000)]
Messed up changelog, again, zzz
Raymond Penners [Tue, 7 Oct 2003 20:40:32 +0000 (20:40 +0000)]
Messed up changelog
Raymond Penners [Tue, 7 Oct 2003 20:31:45 +0000 (20:31 +0000)]
Removed debugging stuff
cinamod [Tue, 7 Oct 2003 20:11:27 +0000 (20:11 +0000)]
clean up some return values in xp_theme
cinamod [Tue, 7 Oct 2003 20:07:49 +0000 (20:07 +0000)]
remove C++ comments
Raymond Penners [Tue, 7 Oct 2003 19:58:28 +0000 (19:58 +0000)]
Lightweight theme switching
cinamod [Tue, 7 Oct 2003 19:10:15 +0000 (19:10 +0000)]
mingw build system
Raymond Penners [Tue, 7 Oct 2003 18:56:57 +0000 (18:56 +0000)]
Fixes
Jonathan Blandford [Tue, 7 Oct 2003 18:25:18 +0000 (18:25 +0000)]
only show the child if we have one.
Mon Oct 6 14:18:47 2003 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkexpander.c (gtk_expander_animation_timeout): only show
the child if we have one.
(gtk_expander_button_release): use
gtk_widget_activate instead.
cinamod [Tue, 7 Oct 2003 18:21:24 +0000 (18:21 +0000)]
define HTHEME
Raymond Penners [Tue, 7 Oct 2003 18:03:34 +0000 (18:03 +0000)]
IsThemeActive and dfns->defs
Danilo Šegan [Tue, 7 Oct 2003 11:34:40 +0000 (11:34 +0000)]
Updated Serbian translation.
2003-10-07 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
Christian Rose [Mon, 6 Oct 2003 23:26:24 +0000 (23:26 +0000)]
Updated Swedish translation.
2003-10-07 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Pablo Gonzalo del Campo [Mon, 6 Oct 2003 21:36:16 +0000 (21:36 +0000)]
Updated Spanish translation by Francisco Javier F. Serrador
2003-10-06 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by
Francisco Javier F. Serrador <serrador@arrakis.es>.
Matthias Clasen [Mon, 6 Oct 2003 19:07:49 +0000 (19:07 +0000)]
Start the blurb for "right_attach" with a capital. (#123945, Christian
Mon Oct 6 21:05:46 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtktable.c (gtk_table_class_init): Start the blurb for
"right_attach" with a capital. (#123945, Christian Rose)
cinamod [Mon, 6 Oct 2003 16:38:53 +0000 (16:38 +0000)]
xp theme definitions for platforms NOT winxp, catch system settings changes, disable theme switching
Danilo Šegan [Mon, 6 Oct 2003 11:15:37 +0000 (11:15 +0000)]
Updated Serbian translation.
2003-10-06 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn: Updated Serbian translation.
Christian Rose [Mon, 6 Oct 2003 00:53:06 +0000 (00:53 +0000)]
Updated Swedish translation somewhat.
2003-10-06 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation somewhat.
Matthias Clasen [Sun, 5 Oct 2003 22:00:49 +0000 (22:00 +0000)]
Remove an extraneous unref. (#122336, Frederic Crozat)
Sun Oct 5 23:59:03 2003 Matthias Clasen <maclas@gmx.de>
* tests/testsocket.c (child_read_watch): Remove an
extraneous unref. (#122336, Frederic Crozat)
Matthias Clasen [Sun, 5 Oct 2003 20:39:17 +0000 (20:39 +0000)]
Trim whitespace in "visible-window" blurb. (#123910, Christian Rose)
Sun Oct 5 22:38:22 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkeventbox.c (gtk_event_box_class_init): Trim whitespace in
"visible-window" blurb. (#123910, Christian Rose)
KAMAGASAKO Masatoshi [Sun, 5 Oct 2003 14:45:16 +0000 (14:45 +0000)]
Updated Japanese translation.
2003-10-05 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
* ja.po: Updated Japanese translation.
Soeren Sandmann [Sat, 4 Oct 2003 22:58:14 +0000 (22:58 +0000)]
focus arrow before pack_end items (#123851, Matthias Clasen)
Sun Oct 5 00:53:15 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (gtk_toolbar_list_children_in_focus_order):
focus arrow before pack_end items (#123851, Matthias Clasen)
Danilo Šegan [Sat, 4 Oct 2003 20:14:08 +0000 (20:14 +0000)]
Updated Serbian translation.
2003-10-04 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
Christian Rose [Sat, 4 Oct 2003 19:45:37 +0000 (19:45 +0000)]
Updated Swedish translation somewhat.
2003-10-04 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation somewhat.
Christian Rose [Sat, 4 Oct 2003 15:59:41 +0000 (15:59 +0000)]
Added missing files.
2003-10-04 Christian Rose <menthos@menthos.com>
* POTFILES.in: Added missing files.
Danilo Šegan [Sat, 4 Oct 2003 01:33:59 +0000 (01:33 +0000)]
Updated Serbian translation.
2003-10-04 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
Kristian Rietveld [Fri, 3 Oct 2003 18:56:24 +0000 (18:56 +0000)]
only set the model on ->priv->cell_view if ->priv->cell_view is non-NULL.
Fri Oct 3 20:50:48 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombobox.c (gtk_combo_box_set_model): only set the model
on ->priv->cell_view if ->priv->cell_view is non-NULL.
* gtk/gtkcomboboxentry.c: include gtkintl.h, add text_renderer
field to GtkComboBoxEntryPrivate,
(gtk_combo_box_entry_class_init), (gtk_combo_box_entry_init),
(gtk_combo_box_entry_set_property), (gtk_combo_box_entry_get_property),
(gtk_combo_box_entry_set_text_column), (gtk_combo_box_entry_new): add
a construct-only "text_column" property and reorder code to use it
and support inheriting this widget.
cinamod [Fri, 3 Oct 2003 18:17:39 +0000 (18:17 +0000)]
fix menu delays
cinamod [Fri, 3 Oct 2003 17:02:45 +0000 (17:02 +0000)]
redo how we do styles
cinamod [Fri, 3 Oct 2003 16:20:25 +0000 (16:20 +0000)]
catch color changes properly now
cinamod [Fri, 3 Oct 2003 15:54:20 +0000 (15:54 +0000)]
catch theme and color changes
cinamod [Fri, 3 Oct 2003 13:51:41 +0000 (13:51 +0000)]
don't leak as many GCs
Kristian Rietveld [Thu, 2 Oct 2003 21:30:11 +0000 (21:30 +0000)]
Added API doc comments.
Thu Oct 2 23:28:02 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcombobox.c: Added API doc comments.
* gtk/gtkcomboboxentry.c: Ditto.
Matthias Clasen [Wed, 1 Oct 2003 22:53:57 +0000 (22:53 +0000)]
Doc tweaks-
Matthias Clasen [Wed, 1 Oct 2003 22:43:30 +0000 (22:43 +0000)]
Add gtkcellview.h and gtkcellviewmenuitem.h.
2003-10-02 Matthias Clasen <maclas@gmx.de>
* gtk/Makefile.am (IGNORE_HFILES): Add gtkcellview.h and
gtkcellviewmenuitem.h.
* gtk/tmpl/gtkentrycompletion.sgml:
* gtk/tmpl/gtktreemodelfilter.sgml:
* gtk/tmpl/gtkcelllayout.sgml:
* gtk/tmpl/gtkcombobox.sgml:
* gtk/tmpl/gtkcomboboxentry.sgml: New templates.
* gtk/gtk-sections.txt:
* gtk/gtk-docs.sgml: Add sections for GtkEntryCompletion,
GtkTreeModelFilter, GtkCellLayout, GtkComboBox, GtkComboBoxEntry.
* gtk/tmpl/gtktreednd.sgml: Add short description.
* gtk/gtk-docs.sgml: Move GtkItemFactory to the "Deprecated" chapter.
* gtk/tmpl/gtktoggletoolbutton.sgml: Fix section title.